package com.lyq.bean;

public class Admin {
    // 当前登录用户
    public static Admin currentLoginAdmin = null;

    // 账号
    private String account;

    // 密码
    private String password;

    // 姓名
    private String nick;

    public Admin() {
    }

    public Admin(String account, String password, String name) {
        this.account = account;
        this.password = password;
        this.nick = name;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return nick;
    }

    public void setName(String name) {
        this.nick = name;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", name='" + nick + '\'' +
                '}';
    }
}
